package com.wm.command;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ClassName: Receiver
 * @Description: 命令接收人
 * @Author: WM
 * @Date: 2023/5/6 9:09
 */
public class Receiver {
    private final Logger logger = LoggerFactory.getLogger(Receiver.class);

    public void action(String command) {
        // 接收并执行命令
        logger.info("command received, now execute command:{}", command);
    }
}
